package cn.edu.lingnan;

import cn.edu.lingnan.bean.Dog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})

@EnableSwagger2
@SpringBootApplication
@EnableCaching  //开启缓存注解
public class ChenApplication {


    public static void main(String[] args) {
        SpringApplication.run(ChenApplication.class, args);



    }

}
